package com.bbzn.device.client.dao.history;

import com.bbzn.device.client.dataobject.AlarmHisEn;
import java.util.Date;
import java.util.List;
import com.bbzn.device.client.dto.history.AlarmHisDTO;
import org.apache.ibatis.annotations.Param;

public interface AlarmHisEnMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AlarmHisEn record);

    int insertOrUpdate(AlarmHisEn record);

    int insertOrUpdateSelective(AlarmHisEn record);

    int insertSelective(AlarmHisEn record);

    AlarmHisEn selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AlarmHisEn record);

    int updateByPrimaryKey(AlarmHisEn record);

    List<AlarmHisEn> findByAll(AlarmHisEn alarmHisEn);

    int deleteByImei(@Param("imei") String imei);

    int updateBatch(List<AlarmHisEn> list);

    int updateBatchSelective(List<AlarmHisEn> list);

    int batchInsert(@Param("list") List<AlarmHisEn> list);

    int alarmHisCount(AlarmHisDTO record);

    List<AlarmHisEn> alarmHistroryLimt(AlarmHisDTO alarmHis);
}